﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XMM.Objects
{
    public class DiscDrive : Object
    {
        string _DriveLetter;
        public string DriveLetter { get { return _DriveLetter; } }

        string _Label;
        public string Label { get { return _Label; } }

        public DiscDrive()
        {
            _DriveLetter = String.Empty;
            _Label = String.Empty;
        }

        public DiscDrive(string sDriveLetter, string sLabel)
        {
            _DriveLetter = sDriveLetter;
            _Label = sLabel;
        }

        public override string ToString()
        {
            if (Label != String.Empty)
                return DriveLetter + ":\\ - " + Label;
            else
                return DriveLetter + ":\\ - [NO LABEL]";
        }
    }
}
